from shapes import *

world = TurtleWorld()

sat= Turtle()
sat.color= "black"
sat.delay= .01

#---------------Bunny_main_shapes------------

def head(t, size=10):
    rect(t, size*7, size*4)
    move(t, size*4, size*4)
    equilateral_tri(t, size*3, 120)
    move(t, size*2, size*0)
    equilateral_tri(t, size*3, 120)
    move(t, -size*7, -size*2)
    square(t, size*.9, -size*.1)
    move(t, size*1, -size*.4)
    line(t, size*1, -size*.2)
    move(t, size*1, size*1)
    arc(t, size*.5, 210)
    
def body(t, size=10):
    move(t, size*0, size*1.3)
    equilateral_tri(t, size*3, 120)
    move(t, -size*0, -size*4)
    equilateral_tri(t, size*3, 182)
    move(t, size*.8, size*4.1)
    square(t, size*1, -size*.1)
    move(t, size*4.2, -size*4.9)
    rhom(t, size*2.5, size*4.5, 23.6)
    move(t, size*0, size*3.1)
    rect(t, size*4, size*7, -90)
    move(t, size*4, size*0)
    rhom(t, size*2.5, size*4.3, 23.6) 
    
def rabit(t, size=10):
    head(sat)
    
    move(sat,20, 10) 

    sat.pu()
    sat.rt()
    sat.fd(35)
    sat.pd()

    body(sat)
    
    
rabit(sat) 

move(sat, -50, -4)

#-------------------test---------------------
wait_for_user()